var act = document.querySelector("#actsss")
var language = document.querySelector(".language")
act.onclick = function() {
	language.classList.toggle("hide")
}
var one = document.querySelector("#one")
var two = document.querySelector("#two")
var three = document.querySelector("#three")
one.onclick = function() {
	act.innerHTML = this.innerHTML
	language.classList.add("hide")
}

two.onclick = function() {
	act.innerHTML = this.innerHTML
	language.classList.add("hide")
}

three.onclick = function() {
	act.innerHTML = this.innerHTML
	language.classList.add("hide")
}
var sang = document.querySelector("#sang")
var xia = document.querySelector("#xia")
var guo = document.querySelector("#guo")
var list = document.querySelector(".list")
var listLiEle = document.querySelectorAll(".list ul li")
var texts = document.querySelector("#texts")
sang.onclick = function() {
	xia.classList.remove("hide")
	sang.classList.add("hide")
	list.classList.remove("hide")
}
xia.onclick = function() {
	xia.classList.add("hide")
	sang.classList.remove("hide")
	list.classList.add("hide")
}
for (var i = 0; i < listLiEle.length; i++) {
	listLiEle[i].onclick = function() {
		texts.innerHTML = this.innerHTML
		list.classList.add("hide")
		xia.classList.add("hide")
		sang.classList.remove("hide")
	}
}

var inp2 = document.querySelector("#inp2")
var inp3 = document.querySelector("#inp3")
var btn = document.querySelector(".btn")
inp2.onclick = function() {
	inp3.removeAttribute('disabled')
	inp3.style.cursor = "pointer"
	btn.style.backgroundColor = "#2ad181"
	btn.style.cursor = "pointer"
}
var eye1 = document.querySelector("#eye1")
var eye2 = document.querySelector("#eye2")

eye1.onclick = function() {
	eye1.classList.add("hide")
	eye2.classList.remove("hide")
	inp4.setAttribute("type", "text")
}
eye2.onclick = function() {
	eye2.classList.add("hide")
	eye1.classList.remove("hide")
	inp4.setAttribute("type", "password")
}
var zu = document.querySelector("#zu")
var btn2 = document.querySelector(".btn2")
zu.onclick = function() {
	if (checkbox = true) {
		btn2.style.backgroundColor = "#2ad181"
		btn2.style.cursor = "pointer"
	}
}
